package com.meiyou.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;
import java.io.Serializable;

/**
 * (User)实体类
 *
 * @author makejava
 * @since 2023-11-22 22:18:55
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class User implements Serializable {
    private static final long serialVersionUID = -17491898536004683L;

    private Long id;

    // 0普通用户，1管理员
    private Integer role;
    private String address;
    private String username;

    private String password;

    private String nickname;

    private String email;

    private LocalDate birthday;

    private String height;

    private String marriage;

    private String avatar;

    private String periodLength;

    private String cycleLength;

    private LocalDateTime createTime;

}

